package com.example.auction.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.auction.entity.Item;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 拍品表 Mapper 接口
 * </p>
 *
 * @author winki
 * @since 2025-04-19
 */
@Mapper
public interface ItemMapper extends BaseMapper<Item> {

    @Select("select * from item where id=#{id}")
    Item selectBI(Long id);
}

